module GeneratorJsSound
  #
  #   page.play "alert.wav"
  #
  # will produce
  #
  #    Sound.play("sounds/alert.wav")
  #
  def play(file)
    "Sound.play('sounds/#{file}')"
  end
end